--- /dev/null
+dbus_interfaces = [
+ 'org.gnome.Shell.PadOsd.xml',
+ 'org.gnome.Shell.Screencast.xml',
+ 'org.gnome.Shell.Screenshot.xml',
+ 'org.gnome.ShellSearchProvider.xml',
+ 'org.gnome.ShellSearchProvider2.xml'
+]
+install_data(dbus_interfaces, install_dir: ifacedir)
--- /dev/null
+<!DOCTYPE node PUBLIC
+'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
+'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
+<node>
+
+ <!--
+ org.gnome.Shell.PadOSD:
+ @short_description: Pad OSD interface
+
+ The interface used to show button map OSD on pad devices.
+ -->
+ <interface name='org.gnome.Shell.Wacom.PadOsd'>
+
+ <!--
+ Show:
+ @device_node: device node file, usually in /dev/input/...
+ @edition_mode: whether toggling edition mode on when showing
+
+ Shows the pad button map OSD for the requested device, the OSD
+ will be shown according the current device settings (output
+ mapping, left handed mode, ...)
+ -->
+ <method name='Show'>
+ <arg name='device_node' direction='in' type='o'/>
+ <arg name='edition_mode' direction='in' type='b'/>
+ </method>
+ </interface>
+</node>
--- /dev/null
+<!DOCTYPE node PUBLIC
+'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
+'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
+<node>
+
+ <!--
+ org.gnome.Shell.Screencast:
+ @short_description: Screencast interface
+
+ The interface used to record screen contents.
+ -->
+ <interface name="org.gnome.Shell.Screencast">
+
+ <!--
+ Screencast:
+ @file_template: the template for the filename to use
+ @options: a dictionary of optional parameters
+ @success: whether the screencast was started successfully
+ @filename_used: the file where the screencast is being saved
+
+ Records a screencast of the whole screen and saves it
+ (by default) as webm video under a filename derived from
+ @file_template. The template is either a relative or absolute
+ filename which may contain some escape sequences - %d and %t
+ will be replaced by the start date and time of the recording.
+ If a relative name is used, the screencast will be saved in the
+ $XDG_VIDEOS_DIR if it exists, or the home directory otherwise.
+ The actual filename of the saved video is returned in @filename_used.
+ The set of optional parameters in @options currently consists of:
+ 'draw-cursor'(b): whether the cursor should be included in the
+ recording (true)
+ 'framerate'(i): the number of frames per second that should be
+ recorded if possible (30)
+ 'pipeline'(s): the GStreamer pipeline used to encode recordings
+ in gst-launch format; if not specified, the
+ recorder will produce vp8 (webm) video (unset)
+ -->
+ <method name="Screencast">
+ <arg type="s" direction="in" name="file_template"/>
+ <arg type="a{sv}" direction="in" name="options"/>
+ <arg type="b" direction="out" name="success"/>
+ <arg type="s" direction="out" name="filename_used"/>
+ </method>
+
+ <!--
+ ScreencastArea:
+ @x: the X coordinate of the area to capture
+ @y: the Y coordinate of the area to capture
+ @width: the width of the area to capture
+ @height: the height of the area to capture
+ @file_template: the template for the filename to use
+ @options: a dictionary of optional parameters
+ @success: whether the screencast was started successfully
+ @filename_used: the file where the screencast is being saved
+
+ Records a screencast of the passed in area and saves it
+ (by default) as webm video under a filename derived from
+ @file_template. The template is either a relative or absolute
+ filename which may contain some escape sequences - %d and %t
+ will be replaced by the start date and time of the recording.
+ If a relative name is used, the screencast will be saved in the
+ $XDG_VIDEOS_DIR if it exists, or the home directory otherwise.
+ The actual filename of the saved video is returned in @filename_used.
+ The set of optional parameters in @options currently consists of:
+ 'draw-cursor'(b): whether the cursor should be included in the
+ recording (true)
+ 'framerate'(i): the number of frames per second that should be
+ recorded if possible (30)
+ 'pipeline'(s): the GStreamer pipeline used to encode recordings
+ in gst-launch format; if not specified, the
+ recorder will produce vp8 (webm) video (unset)
+ -->
+ <method name="ScreencastArea">
+ <arg type="i" direction="in" name="x"/>
+ <arg type="i" direction="in" name="y"/>
+ <arg type="i" direction="in" name="width"/>
+ <arg type="i" direction="in" name="height"/>
+ <arg type="s" direction="in" name="file_template"/>
+ <arg type="a{sv}" direction="in" name="options"/>
+ <arg type="b" direction="out" name="success"/>
+ <arg type="s" direction="out" name="filename_used"/>
+ </method>
+
+ <!--
+ StopScreencast:
+ @success: whether stopping the recording was successful
+
+ Stop the recording started by either Screencast or ScreencastArea.
+ -->
+ <method name="StopScreencast">
+ <arg type="b" direction="out" name="success"/>
+ </method>
+
+ </interface>
+</node>
--- /dev/null
+<!DOCTYPE node PUBLIC
+'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
+'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
+<node>
+
+ <!--
+ org.gnome.Shell.Screenshot:
+ @short_description: Screenshot interface
+
+ The interface used to capture pictures of the screen contents.
+ -->
+ <interface name="org.gnome.Shell.Screenshot">
+
+ <!--
+ Screenshot:
+ @filename: The filename for the screenshot
+ @include_cursor: Whether to include the cursor image or not
+ @flash: Whether to flash the screen or not
+ @success: whether the screenshot was captured
+ @filename_used: the file where the screenshot was saved
+
+ Takes a screenshot of the whole screen and saves it
+ in @filename as png image, it returns a boolean
+ indicating whether the operation was successful or not.
+ @filename can either be an absolute path or a basename, in
+ which case the screenshot will be saved in the $XDG_PICTURES_DIR
+ or the home directory if it doesn't exist. The filename used
+ to save the screenshot will be returned in @filename_used.
+ -->
+ <method name="Screenshot">
+ <arg type="b" direction="in" name="include_cursor"/>
+ <arg type="b" direction="in" name="flash"/>
+ <arg type="s" direction="in" name="filename"/>
+ <arg type="b" direction="out" name="success"/>
+ <arg type="s" direction="out" name="filename_used"/>
+ </method>
+
+ <!--
+ ScreenshotWindow:
+ @include_frame: Whether to include the frame or not
+ @include_cursor: Whether to include the cursor image or not
+ @flash: Whether to flash the window area or not
+ @filename: The filename for the screenshot
+ @success: whether the screenshot was captured
+ @filename_used: the file where the screenshot was saved
+
+ Takes a screenshot of the focused window (optionally omitting the frame)
+ and saves it in @filename as png image, it returns a boolean
+ indicating whether the operation was successful or not.
+ @filename can either be an absolute path or a basename, in
+ which case the screenshot will be saved in the $XDG_PICTURES_DIR
+ or the home directory if it doesn't exist. The filename used
+ to save the screenshot will be returned in @filename_used.
+ -->
+ <method name="ScreenshotWindow">
+ <arg type="b" direction="in" name="include_frame"/>
+ <arg type="b" direction="in" name="include_cursor"/>
+ <arg type="b" direction="in" name="flash"/>
+ <arg type="s" direction="in" name="filename"/>
+ <arg type="b" direction="out" name="success"/>
+ <arg type="s" direction="out" name="filename_used"/>
+ </method>
+
+ <!--
+ ScreenshotArea:
+ @x: the X coordinate of the area to capture
+ @y: the Y coordinate of the area to capture
+ @width: the width of the area to capture
+ @height: the height of the area to capture
+ @flash: whether to flash the area or not
+ @filename: the filename for the screenshot
+ @success: whether the screenshot was captured
+ @filename_used: the file where the screenshot was saved
+
+ Takes a screenshot of the passed in area and saves it
+ in @filename as png image, it returns a boolean
+ indicating whether the operation was successful or not.
+ @filename can either be an absolute path or a basename, in
+ which case the screenshot will be saved in the $XDG_PICTURES_DIR
+ or the home directory if it doesn't exist. The filename used
+ to save the screenshot will be returned in @filename_used.
+ -->
+ <method name="ScreenshotArea">
+ <arg type="i" direction="in" name="x"/>
+ <arg type="i" direction="in" name="y"/>
+ <arg type="i" direction="in" name="width"/>
+ <arg type="i" direction="in" name="height"/>
+ <arg type="b" direction="in" name="flash"/>
+ <arg type="s" direction="in" name="filename"/>
+ <arg type="b" direction="out" name="success"/>
+ <arg type="s" direction="out" name="filename_used"/>
+ </method>
+
+ <!--
+ PickColor:
+
+ Picks a color and returns the result.
+
+ The @result vardict contains:
+ <variablelist>
+ <varlistentry>
+ <term>color (ddd)</term>
+ <listitem><para>The color, RGB values in the range [0,1].</para></listitem>
+ </varlistentry>
+ </variablelist>
+ -->
+ <method name="PickColor">
+ <arg type="a{sv}" direction="out" name="result"/>
+ </method>
+
+ <!--
+ FlashArea:
+ @x: the X coordinate of the area to flash
+ @y: the Y coordinate of the area to flash
+ @width: the width of the area to flash
+ @height: the height of the area to flash
+
+ Renders a flash spot effect in the specified rectangle of the screen.
+ -->
+ <method name="FlashArea">
+ <arg type="i" direction="in" name="x"/>
+ <arg type="i" direction="in" name="y"/>
+ <arg type="i" direction="in" name="width"/>
+ <arg type="i" direction="in" name="height"/>
+ </method>
+
+ <!--
+ SelectArea:
+ @x: the X coordinate of the selected area
+ @y: the Y coordinate of the selected area
+ @width: the width of the selected area
+ @height: the height of the selected area
+
+ Interactively allows the user to select a rectangular area of
+ the screen, and returns its coordinates.
+ -->
+ <method name="SelectArea">
+ <arg type="i" direction="out" name="x"/>
+ <arg type="i" direction="out" name="y"/>
+ <arg type="i" direction="out" name="width"/>
+ <arg type="i" direction="out" name="height"/>
+ </method>
+
+ </interface>
+</node>
--- /dev/null
+<!DOCTYPE node PUBLIC
+'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
+'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
+<node>
+
+ <!--
+ org.gnome.Shell.SearchProvider:
+ @short_description: Search provider interface
+
+ The interface used for integrating into GNOME Shell's search
+ interface. This interface is deprecated, and org.gnome.Shell.SearchProvider2 should be used instead.
+ -->
+ <interface name="org.gnome.Shell.SearchProvider">
+
+ <!--
+ GetInitialResultSet:
+ @terms: Array of search terms, which the provider should treat as logical AND.
+ @results: An array of result identifier strings representing items which match the given search terms. Identifiers must be unique within the provider's domain, but other than that may be chosen freely by the provider.
+
+ Called when the user first begins a search.
+ -->
+ <method name="GetInitialResultSet">
+ <arg type="as" name="terms" direction="in" />
+ <arg type="as" name="results" direction="out" />
+ </method>
+
+ <!--
+ GetSubsearchResultSet:
+ @previous_results: Array of results previously returned by GetInitialResultSet().
+ @terms: Array of updated search terms, which the provider should treat as logical AND.
+ @results: An array of result identifier strings representing items which match the given search terms. Identifiers must be unique within the provider's domain, but other than that may be chosen freely by the provider.
+
+ Called when a search is performed which is a "subsearch" of
+ the previous search, e.g. the method may return less results, but
+ not more or different results.
+
+ This allows search providers to only search through the previous
+ result set, rather than possibly performing a full re-query.
+ -->
+ <method name="GetSubsearchResultSet">
+ <arg type="as" name="previous_results" direction="in" />
+ <arg type="as" name="terms" direction="in" />
+ <arg type="as" name="results" direction="out" />
+ </method>
+
+ <!--
+ GetResultMetas:
+ @identifiers: An array of result identifiers as returned by GetInitialResultSet() or GetSubsearchResultSet()
+ @metas: A dictionary describing the given search result, containing a human-readable 'name' (string), along with the result identifier this meta is for, 'id' (string). Optionally, either 'gicon' (a serialized GIcon) or 'icon-data' (raw image data as (iiibiiay) - width, height, rowstride, has-alpha, bits per sample, channels, data) can be specified if the result can be better served with a thumbnail of the content (such as with images). A 'description' field (string) may also be specified if more context would help the user find the desired result.
+
+ Return an array of meta data used to display each given result
+ -->
+ <method name="GetResultMetas">
+ <arg type="as" name="identifiers" direction="in" />
+ <arg type="aa{sv}" name="metas" direction="out" />
+ </method>
+
+ <!--
+ ActivateResult:
+ @identifier: A result identifier as returned by GetInitialResultSet() or GetSubsearchResultSet()
+
+ Called when the users chooses a given result. The result should
+ be displayed in the application associated with the corresponding
+ provider.
+
+ This method is deprecated, and providers should implement ActivateResult2()
+ instead.
+ -->
+ <method name="ActivateResult">
+ <arg type="s" name="identifier" direction="in" />
+ </method>
+ </interface>
+</node>
--- /dev/null
+<!DOCTYPE node PUBLIC
+'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
+'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
+<node>
+
+ <!--
+ org.gnome.Shell.SearchProvider2:
+ @short_description: Search provider interface
+
+ The interface used for integrating into GNOME Shell's search
+ interface (version 2).
+ -->
+ <interface name="org.gnome.Shell.SearchProvider2">
+
+ <!--
+ GetInitialResultSet:
+ @terms: Array of search terms, which the provider should treat as logical AND.
+ @results: An array of result identifier strings representing items which match the given search terms. Identifiers must be unique within the provider's domain, but other than that may be chosen freely by the provider.
+
+ Called when the user first begins a search.
+ -->
+ <method name="GetInitialResultSet">
+ <arg type="as" name="terms" direction="in" />
+ <arg type="as" name="results" direction="out" />
+ </method>
+
+ <!--
+ GetSubsearchResultSet:
+ @previous_results: Array of results previously returned by GetInitialResultSet().
+ @terms: Array of updated search terms, which the provider should treat as logical AND.
+ @results: An array of result identifier strings representing items which match the given search terms. Identifiers must be unique within the provider's domain, but other than that may be chosen freely by the provider.
+
+ Called when a search is performed which is a "subsearch" of
+ the previous search, e.g. the method may return less results, but
+ not more or different results.
+
+ This allows search providers to only search through the previous
+ result set, rather than possibly performing a full re-query.
+ -->
+ <method name="GetSubsearchResultSet">
+ <arg type="as" name="previous_results" direction="in" />
+ <arg type="as" name="terms" direction="in" />
+ <arg type="as" name="results" direction="out" />
+ </method>
+
+ <!--
+ GetResultMetas:
+ @identifiers: An array of result identifiers as returned by GetInitialResultSet() or GetSubsearchResultSet()
+ @metas: A dictionary describing the given search result, containing a human-readable 'name' (string), along with the result identifier this meta is for, 'id' (string). Optionally, 'icon' (a serialized GIcon as obtained by g_icon_serialize) can be specified if the result can be better served with a thumbnail of the content (such as with images). 'gicon' (a serialized GIcon as obtained by g_icon_to_string) or 'icon-data' (raw image data as (iiibiiay) - width, height, rowstride, has-alpha, bits per sample, channels, data) are deprecated values that can also be used for that purpose. A 'description' field (string) may also be specified if more context would help the user find the desired result.
+
+ Return an array of meta data used to display each given result
+ -->
+ <method name="GetResultMetas">
+ <arg type="as" name="identifiers" direction="in" />
+ <arg type="aa{sv}" name="metas" direction="out" />
+ </method>
+
+ <!--
+ ActivateResult:
+ @identifier: A result identifier as returned by GetInitialResultSet() or GetSubsearchResultSet()
+ @terms: Array of search terms, which the provider should treat as logical AND.
+ @timestamp: A timestamp of the user interaction that triggered this call
+
+ Called when the users chooses a given result. The result should
+ be displayed in the application associated with the corresponding
+ provider. The provided search terms can be used to allow launching a full search in
+ the application.
+ -->
+ <method name="ActivateResult">
+ <arg type="s" name="identifier" direction="in" />
+ <arg type="as" name="terms" direction="in" />
+ <arg type="u" name="timestamp" direction="in" />
+ </method>
+
+ <!--
+ LaunchSearch:
+ @terms: Array of search terms, which the provider should treat as logical AND.
+ @timestamp: A timestamp of the user interaction that triggered this call
+
+ Asks the search provider to launch a full search in the application for the provided terms.
+ -->
+ <method name="LaunchSearch">
+ <arg type="as" name="terms" direction="in" />
+ <arg type="u" name="timestamp" direction="in" />
+ </method>
+ </interface>
+</node>
endforeach
-dbus_interfaces = [
- 'org.gnome.Shell.PadOsd.xml',
- 'org.gnome.Shell.Screencast.xml',
- 'org.gnome.Shell.Screenshot.xml',
- 'org.gnome.ShellSearchProvider.xml',
- 'org.gnome.ShellSearchProvider2.xml'
-]
-install_data(dbus_interfaces, install_dir: ifacedir)
-
-
+subdir('dbus-interfaces')
subdir('theme')
theme_resources = gnome.compile_resources(
+++ /dev/null
-<!DOCTYPE node PUBLIC
-'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
-'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
-<node>
-
- <!--
- org.gnome.Shell.PadOSD:
- @short_description: Pad OSD interface
-
- The interface used to show button map OSD on pad devices.
- -->
- <interface name='org.gnome.Shell.Wacom.PadOsd'>
-
- <!--
- Show:
- @device_node: device node file, usually in /dev/input/...
- @edition_mode: whether toggling edition mode on when showing
-
- Shows the pad button map OSD for the requested device, the OSD
- will be shown according the current device settings (output
- mapping, left handed mode, ...)
- -->
- <method name='Show'>
- <arg name='device_node' direction='in' type='o'/>
- <arg name='edition_mode' direction='in' type='b'/>
- </method>
- </interface>
-</node>
+++ /dev/null
-<!DOCTYPE node PUBLIC
-'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
-'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
-<node>
-
- <!--
- org.gnome.Shell.Screencast:
- @short_description: Screencast interface
-
- The interface used to record screen contents.
- -->
- <interface name="org.gnome.Shell.Screencast">
-
- <!--
- Screencast:
- @file_template: the template for the filename to use
- @options: a dictionary of optional parameters
- @success: whether the screencast was started successfully
- @filename_used: the file where the screencast is being saved
-
- Records a screencast of the whole screen and saves it
- (by default) as webm video under a filename derived from
- @file_template. The template is either a relative or absolute
- filename which may contain some escape sequences - %d and %t
- will be replaced by the start date and time of the recording.
- If a relative name is used, the screencast will be saved in the
- $XDG_VIDEOS_DIR if it exists, or the home directory otherwise.
- The actual filename of the saved video is returned in @filename_used.
- The set of optional parameters in @options currently consists of:
- 'draw-cursor'(b): whether the cursor should be included in the
- recording (true)
- 'framerate'(i): the number of frames per second that should be
- recorded if possible (30)
- 'pipeline'(s): the GStreamer pipeline used to encode recordings
- in gst-launch format; if not specified, the
- recorder will produce vp8 (webm) video (unset)
- -->
- <method name="Screencast">
- <arg type="s" direction="in" name="file_template"/>
- <arg type="a{sv}" direction="in" name="options"/>
- <arg type="b" direction="out" name="success"/>
- <arg type="s" direction="out" name="filename_used"/>
- </method>
-
- <!--
- ScreencastArea:
- @x: the X coordinate of the area to capture
- @y: the Y coordinate of the area to capture
- @width: the width of the area to capture
- @height: the height of the area to capture
- @file_template: the template for the filename to use
- @options: a dictionary of optional parameters
- @success: whether the screencast was started successfully
- @filename_used: the file where the screencast is being saved
-
- Records a screencast of the passed in area and saves it
- (by default) as webm video under a filename derived from
- @file_template. The template is either a relative or absolute
- filename which may contain some escape sequences - %d and %t
- will be replaced by the start date and time of the recording.
- If a relative name is used, the screencast will be saved in the
- $XDG_VIDEOS_DIR if it exists, or the home directory otherwise.
- The actual filename of the saved video is returned in @filename_used.
- The set of optional parameters in @options currently consists of:
- 'draw-cursor'(b): whether the cursor should be included in the
- recording (true)
- 'framerate'(i): the number of frames per second that should be
- recorded if possible (30)
- 'pipeline'(s): the GStreamer pipeline used to encode recordings
- in gst-launch format; if not specified, the
- recorder will produce vp8 (webm) video (unset)
- -->
- <method name="ScreencastArea">
- <arg type="i" direction="in" name="x"/>
- <arg type="i" direction="in" name="y"/>
- <arg type="i" direction="in" name="width"/>
- <arg type="i" direction="in" name="height"/>
- <arg type="s" direction="in" name="file_template"/>
- <arg type="a{sv}" direction="in" name="options"/>
- <arg type="b" direction="out" name="success"/>
- <arg type="s" direction="out" name="filename_used"/>
- </method>
-
- <!--
- StopScreencast:
- @success: whether stopping the recording was successful
-
- Stop the recording started by either Screencast or ScreencastArea.
- -->
- <method name="StopScreencast">
- <arg type="b" direction="out" name="success"/>
- </method>
-
- </interface>
-</node>
+++ /dev/null
-<!DOCTYPE node PUBLIC
-'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
-'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
-<node>
-
- <!--
- org.gnome.Shell.Screenshot:
- @short_description: Screenshot interface
-
- The interface used to capture pictures of the screen contents.
- -->
- <interface name="org.gnome.Shell.Screenshot">
-
- <!--
- Screenshot:
- @filename: The filename for the screenshot
- @include_cursor: Whether to include the cursor image or not
- @flash: Whether to flash the screen or not
- @success: whether the screenshot was captured
- @filename_used: the file where the screenshot was saved
-
- Takes a screenshot of the whole screen and saves it
- in @filename as png image, it returns a boolean
- indicating whether the operation was successful or not.
- @filename can either be an absolute path or a basename, in
- which case the screenshot will be saved in the $XDG_PICTURES_DIR
- or the home directory if it doesn't exist. The filename used
- to save the screenshot will be returned in @filename_used.
- -->
- <method name="Screenshot">
- <arg type="b" direction="in" name="include_cursor"/>
- <arg type="b" direction="in" name="flash"/>
- <arg type="s" direction="in" name="filename"/>
- <arg type="b" direction="out" name="success"/>
- <arg type="s" direction="out" name="filename_used"/>
- </method>
-
- <!--
- ScreenshotWindow:
- @include_frame: Whether to include the frame or not
- @include_cursor: Whether to include the cursor image or not
- @flash: Whether to flash the window area or not
- @filename: The filename for the screenshot
- @success: whether the screenshot was captured
- @filename_used: the file where the screenshot was saved
-
- Takes a screenshot of the focused window (optionally omitting the frame)
- and saves it in @filename as png image, it returns a boolean
- indicating whether the operation was successful or not.
- @filename can either be an absolute path or a basename, in
- which case the screenshot will be saved in the $XDG_PICTURES_DIR
- or the home directory if it doesn't exist. The filename used
- to save the screenshot will be returned in @filename_used.
- -->
- <method name="ScreenshotWindow">
- <arg type="b" direction="in" name="include_frame"/>
- <arg type="b" direction="in" name="include_cursor"/>
- <arg type="b" direction="in" name="flash"/>
- <arg type="s" direction="in" name="filename"/>
- <arg type="b" direction="out" name="success"/>
- <arg type="s" direction="out" name="filename_used"/>
- </method>
-
- <!--
- ScreenshotArea:
- @x: the X coordinate of the area to capture
- @y: the Y coordinate of the area to capture
- @width: the width of the area to capture
- @height: the height of the area to capture
- @flash: whether to flash the area or not
- @filename: the filename for the screenshot
- @success: whether the screenshot was captured
- @filename_used: the file where the screenshot was saved
-
- Takes a screenshot of the passed in area and saves it
- in @filename as png image, it returns a boolean
- indicating whether the operation was successful or not.
- @filename can either be an absolute path or a basename, in
- which case the screenshot will be saved in the $XDG_PICTURES_DIR
- or the home directory if it doesn't exist. The filename used
- to save the screenshot will be returned in @filename_used.
- -->
- <method name="ScreenshotArea">
- <arg type="i" direction="in" name="x"/>
- <arg type="i" direction="in" name="y"/>
- <arg type="i" direction="in" name="width"/>
- <arg type="i" direction="in" name="height"/>
- <arg type="b" direction="in" name="flash"/>
- <arg type="s" direction="in" name="filename"/>
- <arg type="b" direction="out" name="success"/>
- <arg type="s" direction="out" name="filename_used"/>
- </method>
-
- <!--
- PickColor:
-
- Picks a color and returns the result.
-
- The @result vardict contains:
- <variablelist>
- <varlistentry>
- <term>color (ddd)</term>
- <listitem><para>The color, RGB values in the range [0,1].</para></listitem>
- </varlistentry>
- </variablelist>
- -->
- <method name="PickColor">
- <arg type="a{sv}" direction="out" name="result"/>
- </method>
-
- <!--
- FlashArea:
- @x: the X coordinate of the area to flash
- @y: the Y coordinate of the area to flash
- @width: the width of the area to flash
- @height: the height of the area to flash
-
- Renders a flash spot effect in the specified rectangle of the screen.
- -->
- <method name="FlashArea">
- <arg type="i" direction="in" name="x"/>
- <arg type="i" direction="in" name="y"/>
- <arg type="i" direction="in" name="width"/>
- <arg type="i" direction="in" name="height"/>
- </method>
-
- <!--
- SelectArea:
- @x: the X coordinate of the selected area
- @y: the Y coordinate of the selected area
- @width: the width of the selected area
- @height: the height of the selected area
-
- Interactively allows the user to select a rectangular area of
- the screen, and returns its coordinates.
- -->
- <method name="SelectArea">
- <arg type="i" direction="out" name="x"/>
- <arg type="i" direction="out" name="y"/>
- <arg type="i" direction="out" name="width"/>
- <arg type="i" direction="out" name="height"/>
- </method>
-
- </interface>
-</node>
+++ /dev/null
-<!DOCTYPE node PUBLIC
-'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
-'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
-<node>
-
- <!--
- org.gnome.Shell.SearchProvider:
- @short_description: Search provider interface
-
- The interface used for integrating into GNOME Shell's search
- interface. This interface is deprecated, and org.gnome.Shell.SearchProvider2 should be used instead.
- -->
- <interface name="org.gnome.Shell.SearchProvider">
-
- <!--
- GetInitialResultSet:
- @terms: Array of search terms, which the provider should treat as logical AND.
- @results: An array of result identifier strings representing items which match the given search terms. Identifiers must be unique within the provider's domain, but other than that may be chosen freely by the provider.
-
- Called when the user first begins a search.
- -->
- <method name="GetInitialResultSet">
- <arg type="as" name="terms" direction="in" />
- <arg type="as" name="results" direction="out" />
- </method>
-
- <!--
- GetSubsearchResultSet:
- @previous_results: Array of results previously returned by GetInitialResultSet().
- @terms: Array of updated search terms, which the provider should treat as logical AND.
- @results: An array of result identifier strings representing items which match the given search terms. Identifiers must be unique within the provider's domain, but other than that may be chosen freely by the provider.
-
- Called when a search is performed which is a "subsearch" of
- the previous search, e.g. the method may return less results, but
- not more or different results.
-
- This allows search providers to only search through the previous
- result set, rather than possibly performing a full re-query.
- -->
- <method name="GetSubsearchResultSet">
- <arg type="as" name="previous_results" direction="in" />
- <arg type="as" name="terms" direction="in" />
- <arg type="as" name="results" direction="out" />
- </method>
-
- <!--
- GetResultMetas:
- @identifiers: An array of result identifiers as returned by GetInitialResultSet() or GetSubsearchResultSet()
- @metas: A dictionary describing the given search result, containing a human-readable 'name' (string), along with the result identifier this meta is for, 'id' (string). Optionally, either 'gicon' (a serialized GIcon) or 'icon-data' (raw image data as (iiibiiay) - width, height, rowstride, has-alpha, bits per sample, channels, data) can be specified if the result can be better served with a thumbnail of the content (such as with images). A 'description' field (string) may also be specified if more context would help the user find the desired result.
-
- Return an array of meta data used to display each given result
- -->
- <method name="GetResultMetas">
- <arg type="as" name="identifiers" direction="in" />
- <arg type="aa{sv}" name="metas" direction="out" />
- </method>
-
- <!--
- ActivateResult:
- @identifier: A result identifier as returned by GetInitialResultSet() or GetSubsearchResultSet()
-
- Called when the users chooses a given result. The result should
- be displayed in the application associated with the corresponding
- provider.
-
- This method is deprecated, and providers should implement ActivateResult2()
- instead.
- -->
- <method name="ActivateResult">
- <arg type="s" name="identifier" direction="in" />
- </method>
- </interface>
-</node>
+++ /dev/null
-<!DOCTYPE node PUBLIC
-'-//freedesktop//DTD D-BUS Object Introspection 1.0//EN'
-'http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd'>
-<node>
-
- <!--
- org.gnome.Shell.SearchProvider2:
- @short_description: Search provider interface
-
- The interface used for integrating into GNOME Shell's search
- interface (version 2).
- -->
- <interface name="org.gnome.Shell.SearchProvider2">
-
- <!--
- GetInitialResultSet:
- @terms: Array of search terms, which the provider should treat as logical AND.
- @results: An array of result identifier strings representing items which match the given search terms. Identifiers must be unique within the provider's domain, but other than that may be chosen freely by the provider.
-
- Called when the user first begins a search.
- -->
- <method name="GetInitialResultSet">
- <arg type="as" name="terms" direction="in" />
- <arg type="as" name="results" direction="out" />
- </method>
-
- <!--
- GetSubsearchResultSet:
- @previous_results: Array of results previously returned by GetInitialResultSet().
- @terms: Array of updated search terms, which the provider should treat as logical AND.
- @results: An array of result identifier strings representing items which match the given search terms. Identifiers must be unique within the provider's domain, but other than that may be chosen freely by the provider.
-
- Called when a search is performed which is a "subsearch" of
- the previous search, e.g. the method may return less results, but
- not more or different results.
-
- This allows search providers to only search through the previous
- result set, rather than possibly performing a full re-query.
- -->
- <method name="GetSubsearchResultSet">
- <arg type="as" name="previous_results" direction="in" />
- <arg type="as" name="terms" direction="in" />
- <arg type="as" name="results" direction="out" />
- </method>
-
- <!--
- GetResultMetas:
- @identifiers: An array of result identifiers as returned by GetInitialResultSet() or GetSubsearchResultSet()
- @metas: A dictionary describing the given search result, containing a human-readable 'name' (string), along with the result identifier this meta is for, 'id' (string). Optionally, 'icon' (a serialized GIcon as obtained by g_icon_serialize) can be specified if the result can be better served with a thumbnail of the content (such as with images). 'gicon' (a serialized GIcon as obtained by g_icon_to_string) or 'icon-data' (raw image data as (iiibiiay) - width, height, rowstride, has-alpha, bits per sample, channels, data) are deprecated values that can also be used for that purpose. A 'description' field (string) may also be specified if more context would help the user find the desired result.
-
- Return an array of meta data used to display each given result
- -->
- <method name="GetResultMetas">
- <arg type="as" name="identifiers" direction="in" />
- <arg type="aa{sv}" name="metas" direction="out" />
- </method>
-
- <!--
- ActivateResult:
- @identifier: A result identifier as returned by GetInitialResultSet() or GetSubsearchResultSet()
- @terms: Array of search terms, which the provider should treat as logical AND.
- @timestamp: A timestamp of the user interaction that triggered this call
-
- Called when the users chooses a given result. The result should
- be displayed in the application associated with the corresponding
- provider. The provided search terms can be used to allow launching a full search in
- the application.
- -->
- <method name="ActivateResult">
- <arg type="s" name="identifier" direction="in" />
- <arg type="as" name="terms" direction="in" />
- <arg type="u" name="timestamp" direction="in" />
- </method>
-
- <!--
- LaunchSearch:
- @terms: Array of search terms, which the provider should treat as logical AND.
- @timestamp: A timestamp of the user interaction that triggered this call
-
- Asks the search provider to launch a full search in the application for the provided terms.
- -->
- <method name="LaunchSearch">
- <arg type="as" name="terms" direction="in" />
- <arg type="u" name="timestamp" direction="in" />
- </method>
- </interface>
-</node>